﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<nelech.Models.DBModel.ForumResponse>" %>
<div class="forumLink">
    <h2>
        <%= Html.ActionLink("פורומים", "ListCategoryForum", "Forum") %></h2>
  
    הודעה אחרונה בפורומים:

    <h5>
     <%= Html.ActionLink(Model.category.title, "ListResponseOfCategory", new {id = Model.category.id }, null) %>
    </h5>
 
   <p style="width:120px;">
   <%if(Model.subject != null && Model.subject.title != null) {%>
   <%= Model.subject.title %>
    </p>
    <p class="floatleft">
        <%= Html.ActionLink("לדיון", "ListResponseOfCategory", "Forum", new { id = Model.category.id }, null)%>
    </p>
  <%} %>
</div>
